﻿using System;

namespace HiStaff.Domain.CO
{
    public class CO_SIGN_LST
    {
        public CO_SIGN_LST()
        {
            CREATEDATE = DateTime.Now;
            UPDATEDATE = DateTime.Now;
            USERNAME = StaticObject.USERNAME;
            CREATEUSER = StaticObject.USERNAME;
            UPDATEUSER = StaticObject.USERNAME;
        }

        public decimal? ID { get; set; }
        public string CODE { get; set; }
        public string NAME { get; set; }
        public decimal? GROUPID { get; set; }
        public decimal? DATATYPEID { get; set; }
        public decimal? DATAMODEID { get; set; }
        public decimal? DISPLAY { get; set; }
        public decimal? DATAFROMEXCEL { get; set; }
        public DateTime? EFFECTDATE { get; set; }
        public DateTime? ENDDATE { get; set; }
        public decimal? IDX { get; set; }
        public string NOTE { get; set; }
        public decimal? SALGROUP { get; set; }
        public decimal? STATUS { get; set; }
        public string CREATEUSER { get; set; }
        public DateTime? CREATEDATE { get; set; }
        public string UPDATEUSER { get; set; }
        public DateTime? UPDATEDATE { get; set; }
        public string USERNAME { get; set; }
        // CO_SHIFT_PPT
        public string SHIFTCODE { get; set; }
        public DateTime? SHIFTIN { get; set; }
        public DateTime? SHIFTOUT { get; set; }
        public DateTime? SHIFTBREAKOUT { get; set; }
        public DateTime? SHIFTBREAKIN { get; set; }
        public decimal? DISPARITYIN { get; set; }
        public decimal? DISPARITYOUT { get; set; }
        public decimal? WORKLATEACCEPTED { get; set; }
        public decimal? FINISHEARLYACCEPTED { get; set; }
        public decimal? SHIFTBREAK { get; set; }
        public decimal? WORKLATEROUND { get; set; }
        public decimal? FINISHEARLYROUND { get; set; }

        public string FORMATSTRING { get; set; }

        public string DISPLAYNAME { get { return string.Format("[{0}] {1}", CODE, NAME); } }
    }
}
